package com.sansui.blog.service;

import com.sansui.blog.pojo.sys.SysMenu;

import java.util.List;
import java.util.Map;

/**
 * @name: SysMenuService
 * @author: Sansui
 * @Software: IDEA
 * @Blog: https://www.cnblogs.com/sansui6/
 * @date: 2022-03-20 17:53
 **/

/*
 * 后台菜单配置 service
 * */
public interface SysMenuService {



    /**
     * 获取后台菜单配置
     * @return 后台菜单配置
     */
    Map<String, Object> menuInit();

    /**
     * 根据用户信息查询菜单
     * @param userName
     * @return
     */
    List<SysMenu> byUserNameQueryMenu(String userName);

}
